package com.tudou.top2.model
{
	public class AdUrlModel
	{
		private var $adIconUrl:String = null;
		
		private var $adPictUrl:String = null;
		
		public var adLink:String = null;
		
		public var hasAd:Boolean = false;
		
		public function AdUrlModel()
		{
		}
		
		private function check():void
		{
			if(!hasAd) throw new Error("No ad Url!");
		}
				
		public function set adIconUrl(url:String):void
		{
			$adIconUrl = url;
		}

		public function get adIconUrl():String
		{
			return $adIconUrl;
		}
		
		public function set adPictUrl(url:String):void
		{
			$adPictUrl = url;
		}

		public function get adPictUrl():String
		{
			return $adPictUrl;
		}

	}
}